package com.wtb.javatool.service;

import com.wtb.javatool.dto.LineDto;
import com.wtb.javatool.entity.LineAssignment;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface LineService {
    void addLine(String lineName, Long projectId, Date createTime);

    List<LineDto> findLinesByProjectId(Long projectId,Integer projectType);

    LineDto findLineByLineId(Long lineId);

    void updateLineAssignment(Long lineId, List<LineAssignment> lineAssignmentList);

    void deleteLine(Long lineId);

    void updateLineName(Long lineId, String lineName);

    void copyLine(Long lineId, String lineName,Long projectId,Date createTime);

    int findLineAssignmentByAssignmentIds( List<Long> assignmentIds);
}
